/* 
 * File:   InputDevice.cpp
 * Copyright (C) 2008, 2009
 *		Sergio Padrino Recio (PadrinatoR)
 *
 * Created on 8 de septiembre de 2008, 19:42
 *
 * This file is part of BombProject.
 * 
 * BombProject is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
   
 * BombProject is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with BombProject.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "InputDevice.h"

/**
 * Constructor.
 * @param index Device index.
 */
InputDevice::InputDevice(Uint16 index){
	mIndex = index;
}

/**
 * Destructor.
 */
InputDevice::~InputDevice(){
	
}

/**
 * Returns the device index.
 * @return Device index.
 */
Uint16 InputDevice::getDeviceIndex(){
	return mIndex;
}

/**
 * Returns the device type.
 * @return Device type.
 * @see DeviceType
 */
DeviceType InputDevice::getDeviceType(){
	return mType;
}
